// 会员报表路由
import Main from '@/components/main'
export const MemberRouter = [{
  path: '/report_member',
  name: 'report_member',
  meta: {
    icon: '_iconorder',
    title: '会员报表',
    showAlways: true,
    snMenu: 'report_member',
    sn: 'moms:report:memberbalanceanalytics'
  },
  component: Main,
  children: [
    {
      path: 'member/list',
      name: 'report_shop_member',
      meta: {
        title: '会员结存',
        snMenu: 'report_shop_member',
        sn: 'moms:report:memberbalanceanalytics'
        // hideInMenu: true
      },
      component: () => import('@/view/report/member/balance/list.vue')
    },
    {
      path: 'member/detail/:memberId/:shopId/:shopName/:t',
      name: 'report_shop_member_detail',
      meta: {
        title: '会员档案',
        snMenu: 'report_shop_member',
        sn: 'moms:report:memberprofile',
        hideInMenu: true
      },
      component: () => import('@/view/report/member/balance/detail.vue')
    }
  ]
}]
